<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head>
    <script src="../node_modules/d3/build/d3.min.js"></script>

    <script src="../dist/taucharts.js"></script>
    <!-- plugins -->
    <script src="../dist/plugins/tooltip.js"></script>
    <script src="../dist/plugins/export-to.js"></script>
    <script src="../dist/plugins/legend.js"></script>
    <script src="../dist/plugins/trendline.js"></script>
    <script src="../dist/plugins/settings.js"></script>
    <script src="../dist/plugins/parallel-brushing.js"></script>
    <script src="../dist/plugins/parallel-tooltip.js"></script>
    <script src="../dist/plugins/geomap-tooltip.js"></script>
    <script src="../dist/plugins/geomap-legend.js"></script>
    <!-- css -->
    <link href="../dist/taucharts.css" rel="stylesheet"/>
    <link href="../dist/plugins/legend.css" rel="stylesheet"/>
    <link href="../dist/plugins/tooltip.css" rel="stylesheet"/>
    <link href="../dist/plugins/trendline.css" rel="stylesheet"/>
    <script>
        var utils = Taucharts.api.utils;

        var regressionsHub = (function () {

            'use strict';

            var gaussianElimination = function (a, o) {
                var i = 0, j = 0, k = 0, maxrow = 0, tmp = 0, n = a.length - 1, x = new Array(o);
                for (i = 0; i < n; i++) {
                    maxrow = i;
                    for (j = i + 1; j < n; j++) {
                        if (Math.abs(a[i][j]) > Math.abs(a[i][maxrow]))
                            maxrow = j;
                    }
                    for (k = i; k < n + 1; k++) {
                        tmp = a[k][i];
                        a[k][i] = a[k][maxrow];
                        a[k][maxrow] = tmp;
                    }
                    for (j = i + 1; j < n; j++) {
                        for (k = n; k >= i; k--) {
                            a[k][j] -= a[k][i] * a[i][j] / a[i][i];
                        }
                    }
                }
                for (j = n - 1; j >= 0; j--) {
                    tmp = 0;
                    for (k = j + 1; k < n; k++)
                        tmp += a[k][j] * x[k];
                    x[j] = (a[n][j] - tmp) / a[j][j];
                }
                return (x);
            };

            // GREAT THANKS to Tom Alexander!
            // https://github.com/Tom-Alexander/regression-js
            var methods = {
                linear: function (data) {
                    var sum = [0, 0, 0, 0, 0], n = 0, results = [];

                    for (; n < data.length; n++) {
                        if (data[n][1]) {
                            sum[0] += data[n][0];
                            sum[1] += data[n][1];
                            sum[2] += data[n][0] * data[n][0];
                            sum[3] += data[n][0] * data[n][1];
                            sum[4] += data[n][1] * data[n][1];
                        }
                    }

                    var gradient = (n * sum[3] - sum[0] * sum[1]) / (n * sum[2] - sum[0] * sum[0]);

                    gradient = isNaN(gradient) ? 0 : gradient;

                    var intercept = (sum[1] / n) - (gradient * sum[0]) / n;
                    //  var correlation = (n * sum[3] - sum[0] * sum[1]) / Math.sqrt((n * sum[2] - sum[0] * sum[0]) * (n * sum[4] - sum[1] * sum[1]));

                    for (var i = 0, len = data.length; i < len; i++) {
                        var coordinate = [data[i][0], data[i][0] * gradient + intercept];
                        results.push(coordinate);
                    }

                    var string = 'y = ' + Math.round(gradient * 100) / 100 + 'x + ' + Math.round(intercept * 100) / 100;

                    return {equation: [gradient, intercept], points: results, string: string};
                },

                exponential: function (data) {
                    var sum = [0, 0, 0, 0, 0, 0], n = 0, results = [];

                    for (len = data.length; n < len; n++) {
                        if (data[n][1]) {
                            sum[0] += data[n][0];
                            sum[1] += data[n][1];
                            sum[2] += data[n][0] * data[n][0] * data[n][1];
                            sum[3] += data[n][1] * Math.log(data[n][1]);
                            sum[4] += data[n][0] * data[n][1] * Math.log(data[n][1]);
                            sum[5] += data[n][0] * data[n][1];
                        }
                    }

                    var denominator = (sum[1] * sum[2] - sum[5] * sum[5]);
                    var A = Math.pow(Math.E, (sum[2] * sum[3] - sum[5] * sum[4]) / denominator);
                    var B = (sum[1] * sum[4] - sum[5] * sum[3]) / denominator;

                    for (var i = 0, len = data.length; i < len; i++) {
                        var coordinate = [data[i][0], A * Math.pow(Math.E, B * data[i][0])];
                        results.push(coordinate);
                    }

                    var string = 'y = ' + Math.round(A * 100) / 100 + 'e^(' + Math.round(B * 100) / 100 + 'x)';

                    return {equation: [A, B], points: results, string: string};
                },

                logarithmic: function (data) {
                    var sum = [0, 0, 0, 0], n = 0, results = [];

                    for (len = data.length; n < len; n++) {
                        if (data[n][1]) {
                            sum[0] += Math.log(data[n][0]);
                            sum[1] += data[n][1] * Math.log(data[n][0]);
                            sum[2] += data[n][1];
                            sum[3] += Math.pow(Math.log(data[n][0]), 2);
                        }
                    }

                    var B = (n * sum[1] - sum[2] * sum[0]) / (n * sum[3] - sum[0] * sum[0]);
                    var A = (sum[2] - B * sum[0]) / n;

                    for (var i = 0, len = data.length; i < len; i++) {
                        var coordinate = [data[i][0], A + B * Math.log(data[i][0])];
                        results.push(coordinate);
                    }

                    var string = 'y = ' + Math.round(A * 100) / 100 + ' + ' + Math.round(B * 100) / 100 + ' ln(x)';

                    return {equation: [A, B], points: results, string: string};
                },

                power: function (data) {
                    var sum = [0, 0, 0, 0], n = 0, results = [];

                    for (len = data.length; n < len; n++) {
                        if (data[n][1]) {
                            sum[0] += Math.log(data[n][0]);
                            sum[1] += Math.log(data[n][1]) * Math.log(data[n][0]);
                            sum[2] += Math.log(data[n][1]);
                            sum[3] += Math.pow(Math.log(data[n][0]), 2);
                        }
                    }

                    var B = (n * sum[1] - sum[2] * sum[0]) / (n * sum[3] - sum[0] * sum[0]);
                    var A = Math.pow(Math.E, (sum[2] - B * sum[0]) / n);

                    for (var i = 0, len = data.length; i < len; i++) {
                        var coordinate = [data[i][0], A * Math.pow(data[i][0], B)];
                        results.push(coordinate);
                    }

                    var string = 'y = ' + Math.round(A * 100) / 100 + 'x^' + Math.round(B * 100) / 100;

                    return {equation: [A, B], points: results, string: string};
                },

                polynomial: function (data, order) {
                    if (typeof order == 'undefined') {
                        order = 2;
                    }
                    var lhs = [], rhs = [], results = [], a = 0, b = 0, i = 0, k = order + 1;

                    for (; i < k; i++) {
                        for (var l = 0, len = data.length; l < len; l++) {
                            if (data[l][1]) {
                                a += Math.pow(data[l][0], i) * data[l][1];
                            }
                        }
                        lhs.push(a), a = 0;
                        var c = [];
                        for (var j = 0; j < k; j++) {
                            for (var l = 0, len = data.length; l < len; l++) {
                                if (data[l][1]) {
                                    b += Math.pow(data[l][0], i + j);
                                }
                            }
                            c.push(b), b = 0;
                        }
                        rhs.push(c);
                    }
                    rhs.push(lhs);

                    var equation = gaussianElimination(rhs, k);

                    for (var i = 0, len = data.length; i < len; i++) {
                        var answer = 0;
                        for (var w = 0; w < equation.length; w++) {
                            answer += equation[w] * Math.pow(data[i][0], w);
                        }
                        results.push([data[i][0], answer]);
                    }

                    var string = 'y = ';

                    for (var i = equation.length - 1; i >= 0; i--) {
                        if (i > 1) string += Math.round(equation[i] * 100) / 100 + 'x^' + i + ' + ';
                        else if (i == 1) string += Math.round(equation[i] * 100) / 100 + 'x' + ' + ';
                        else string += Math.round(equation[i] * 100) / 100;
                    }

                    return {equation: equation, points: results, string: string};
                },

                lastvalue: function (data) {
                    var results = [];
                    var lastvalue = null;
                    for (var i = 0; i < data.length; i++) {
                        if (data[i][1]) {
                            lastvalue = data[i][1];
                            results.push([data[i][0], data[i][1]]);
                        }
                        else {
                            results.push([data[i][0], lastvalue]);
                        }
                    }

                    return {equation: [lastvalue], points: results, string: "" + lastvalue};
                },

                loess: function (data) {
                    //adapted from the LoessInterpolator in org.apache.commons.math
                    function loess_pairs(pairs, bandwidth) {
                        var xval = pairs.map(function (pair) {
                            return pair[0]
                        });
                        var yval = pairs.map(function (pair) {
                            return pair[1]
                        });
                        var res = loess(xval, yval, bandwidth);
                        return xval.map(function (x, i) {
                            return [x, res[i]];
                        });
                    }

                    function loess(xval, yval, bandwidth) {
                        function tricube(x) {
                            var tmp = 1 - x * x * x;
                            return tmp * tmp * tmp;
                        }

                        var res = [];

                        var left = 0;
                        var right = Math.floor(bandwidth * xval.length) - 1;

                        for (var i = 0; i < xval.length; i++) {

                            var x = xval[i];

                            if (i > 0) {
                                if (right < xval.length - 1 &&
                                        xval[right + 1] - xval[i] < xval[i] - xval[left]) {
                                    left++;
                                    right++;
                                }
                            }

                            var edge;
                            if (xval[i] - xval[left] > xval[right] - xval[i])
                                edge = left;
                            else
                                edge = right;

                            var denom = Math.abs(1.0 / (xval[edge] - x));

                            var sumWeights = 0;
                            var sumX = 0, sumXSquared = 0, sumY = 0, sumXY = 0;

                            var k = left;
                            while (k <= right) {
                                var xk = xval[k];
                                var yk = yval[k];
                                var dist;
                                if (k < i) {
                                    dist = (x - xk);
                                } else {
                                    dist = (xk - x);
                                }
                                var w = tricube(dist * denom);
                                var xkw = xk * w;
                                sumWeights += w;
                                sumX += xkw;
                                sumXSquared += xk * xkw;
                                sumY += yk * w;
                                sumXY += yk * xkw;
                                k++;
                            }

                            var meanX = sumX / sumWeights;
                            var meanY = sumY / sumWeights;
                            var meanXY = sumXY / sumWeights;
                            var meanXSquared = sumXSquared / sumWeights;

                            var beta;
                            if (meanXSquared == meanX * meanX)
                                beta = 0;
                            else
                                beta = (meanXY - meanX * meanY) / (meanXSquared - meanX * meanX);

                            var alpha = meanY - beta * meanX;

                            res[i] = beta * x + alpha;
                        }

                        return res;
                    }

                    return {
                        equation: 'loess',
                        points: loess_pairs(data, 0.5),
                        string: 'loess'
                    };
                }
            };

            return (function (method, data, order) {
                if (typeof method == 'string') {
                    return methods[method](data, order);
                }
            });
        }());
    </script>
    <style>
        .cc {
            max-width: 1000px;
            max-height: 600px;
            min-width: 1000px;
            min-height: 600px;
            border: solid 1px black;
            margin-top: 5px;
            margin-bottom: 5px;
            margin-left: 5px;
            width: 1200px;
            height: 600px;
        }
    </style>
</head>
<body>

<div id="object-color-legend-container" class="cc"></div>

<div id="container" class="cc"></div>

<div id="trendline" class="cc"></div>

<div id="dashboard" class="cc"></div>

<div id="composite" class="cc"></div>

<div id="composite1" class="cc"></div>

<div id="composite2" class="cc"></div>

<div id="composite3" class="cc"></div>

<script>
    var c = new Taucharts.Chart({

        data: [
            {car: "BMV X5", co2: 197, hp: 306},
            {car: "Bentley Continental", co2: 246, hp: 507},
            {car: "Infinity FX", co2: 238, hp: 238},
            {car: "Toyota Prius+", co2: 96, hp: 99},
            {car: "Mercedes Vito", co2: 203, hp: 95},
            {car: "Peugeot 3008", co2: 155, hp: 120},
            {car: "Volvo S60", co2: 135, hp: 150},
            {car: "Subaru Forester", co2: 186, hp: 150},
            {car: "Lexus RX", co2: 233, hp: 188}
        ],

        "type": "line",
        "x": ["car"],
        "y": ["co2"]
    });

    c.renderTo('#object-color-legend-container');
</script>

<script>

    var facetSpec = {

        sources: {
            '?': {
                dims: {},
                data: []
            },
            '/': {
                dims: {
                    story: {type: 'category'},
                    bug: {type: 'category'},
                    project: {type: 'category'},
                    team: {type: 'category'},
                    count: {type: 'measure'},
                    date: {type: 'measure'}
                },
                data: [
                    {
                        project: 'TP3',
                        team: 'alpha',
                        story: 'A1',
                        bug: 'ISSUE1',
                        count: 10,
                        date: new Date('2014-01-05')
                    },
                    {
                        project: 'tau',
                        team: 'xbeta',
                        story: 'B1',
                        bug: 'ISSUE2',
                        count: 15,
                        date: new Date('2014-10-05')
                    },
                    {
                        project: 'tau',
                        team: 'xbeta',
                        story: 'A1',
                        bug: 'ISSUE2',
                        count: 15,
                        date: new Date('2014-10-05')
                    }
                ]
            }
        },

        scales: {
            'text:default': {type: 'value', source: '?'},
            'size:default': {type: 'size', source: '?', mid: 5},
            'color:default': {type: 'color', source: '?', brewer: null},
            'colorDim': {type: 'color', source: '/', dim: 'team'},
            'story': {type: 'ordinal', source: '/', dim: 'story'},
            'bug': {type: 'ordinal', source: '/', dim: 'bug'},
            'count': {type: 'linear', source: '/', dim: 'count', nice: true, min: 0, max: 20},
            'proj': {type: 'ordinal', source: '/', dim: 'project'},
            'team': {type: 'ordinal', source: '/', dim: 'team'},
            'text_team': {type: 'value', source: '/', dim: 'team'}
        },

        unit: {
            type: 'COORDS.RECT',
            x: 'proj',
            y: 'team',
            expression: {
                inherit: false,
                source: '/',
                operator: 'cross',
                params: ['project', 'team']
            },
            guide: {
                padding: {l: 60, r: 0, t: 0, b: 60},
                showGridLines: '',
                x: {padding: 40, label: {text: 'project'}, cssClass: 'x axis facet-axis'},
                y: {padding: 40, label: {text: 'team'}, cssClass: 'y axis facet-axis'}
            },
            units: [
                {
                    type: 'COORDS.RECT',
                    x: 'story',
                    y: 'count',
                    expression: {
                        source: '/',
                        inherit: true
                    },
                    guide: {
                        autoLayout: 'extract-axes',
                        padding: {l: 10, r: 10, t: 10, b: 10},
                        x: {padding: 10, label: {text: 'count'}},
                        y: {padding: 10, label: {text: 'story'}}
                    },
                    units: [
                        {
                            type: 'ELEMENT.POINT',
                            x: 'story',
                            y: 'count',
                            color: 'colorDim',
                            text: 'text_team',
                            expression: {
                                source: '/',
                                operator:'groupBy',
                                params:['team'],
                                inherit: true
                            }
                        }
                    ]
                }
            ]
        }
    };

    var facetGpl = new Taucharts.Plot(facetSpec);

    facetGpl.renderTo('#container');
</script>

<script>
    var facetSpec = {

        sources: {
            '?': {
                dims: {},
                data: []
            },
            '/': {
                dims: {
                    xdate: {type: 'measure'},
                    count: {type: 'measure'}
                },
                data: [
                    {xdate: 1, count: 31},
                    {xdate: 2, count: 27},
                    {xdate: 3, count: 22},
                    {xdate: 4, count: 13},
                    {xdate: 5, count: 9},
                    {xdate: 6, count: 5},
                    {xdate: 7, count: 1},
                    {xdate: 8, count: -3},
                    {xdate: 9, count: -5},
                    {xdate: 10, count: -7},
                    {xdate: 11, count: -9},
                    {xdate: 12, count: -11},
                    {xdate: 13, count: -17},
                    {xdate: 14, count: -27},
                    {xdate: 15, count: -53}
                ]
            }
        },

        transformations: {

            'regression': function (data, props) {

                var x = props.x;
                var y = props.y;

                var src = data.map(function (item) {
                    var ix = utils.isDate(item[x]) ? item[x].getTime() : item[x];
                    var iy = utils.isDate(item[y]) ? item[y].getTime() : item[y];
                    return [ix, iy];
                });

                var regression = regressionsHub(props.type, src);
                return regression.points
                        .sort(function (p1, p2) {
                            return p1[0] - p2[0];
                        })
//                      .filter(function (p) {
//                          return ((minY <= p[1]) && (p[1] <= maxY));
//                      })
                        .map(function (p) {
                            var item = {};
                            item[x] = p[0];
                            item[y] = p[1];
                            return item;
                        });
            },

            'x-limit': function (data, props) {

                var x = props.x;
                var y = props.y;

                var low = {};
                var top = {};

                low[x] = props.limit;
                low[y] = -Math.max();

                top[x] = props.limit;
                top[y] = +Math.max();

                return [low, top];
            },

            'y-limit': function (data, props) {

                var x = props.x;
                var y = props.y;

                var low = {};
                var top = {};

                low[y] = props.limit;
                low[x] = -Math.max();

                top[y] = props.limit;
                top[x] = +Math.max();

                return [low, top];
            }
        },

        scales: {
            'text:default': {type: 'value', source: '?'},
            'size:default': {type: 'size', name: 'DefSize', source: '?', mid: 5},
            'color:default': {type: 'color', name: 'DefColor', source: '?', brewer: null},
            'count': {type: 'linear', source: '/', dim: 'count', nice: true},
            'xdate': {type: 'linear', source: '/', dim: 'xdate'},

            'annotation1': {type: 'color', source: '/', dim: 'count', brewer: ['color20-2']},
            'annotation2': {type: 'color', source: '/', dim: 'count', brewer: ['color20-5']}
        },

        unit: {
            type: 'COORDS.RECT',
            x: 'xdate',
            y: 'count',
            expression: {
                source: '/',
                inherit: false
            },
            guide: {
                x: {label: {text: 'XDATE'}},
                y: {label: {text: 'COUNT'}}
            },
            units: [
                {
                    type: 'ELEMENT.POINT',
                    x: 'xdate',
                    y: 'count',
                    expression: {
                        source: '/',
                        inherit: true
                    }
                },
                {
                    type: 'ELEMENT.LINE',
                    x: 'xdate',
                    y: 'count',
                    expression: {
                        source: '/',
                        inherit: true
                    },
                    transformation: [{type: 'regression', args: {type: 'linear', x: 'xdate', y: 'count'}}],
                    guide: {
                        interpolate: 'basis',
                        cssClass: 'tau-chart__trendline'
                    }
                },
                {
                    type: 'ELEMENT.LINE',
                    x: 'xdate',
                    y: 'count',
                    color: 'annotation1',
                    expression: {
                        source: '/',
                        inherit: true
                    },
                    transformation: [{type: 'x-limit', args: {x: 'xdate', y: 'count', limit: 10}}]
                },
                {
                    type: 'ELEMENT.LINE',
                    x: 'xdate',
                    y: 'count',
                    color: 'annotation2',
                    expression: {
                        source: '/',
                        inherit: true
                    },
                    transformation: [{type: 'y-limit', args: {x: 'xdate', y: 'count', limit: -25}}]
                }
            ]
        }
    };

    var gpl = new Taucharts.Plot(facetSpec);

    gpl.renderTo('#trendline');

    var iteration = 0;
    var updateData = function () {

        if (++iteration > 100) {
            return;
        }

        facetSpec.sources['/'].data.push({
            xdate: parseInt(Math.random() * 10),
            count: parseInt(Math.random() * 10) + parseInt(Math.random() * 10) * (parseInt(Math.random() * 10) > 5 ? -1 : 1)
        });

        gpl.renderTo('#trendline');
    };

    setInterval(updateData, 2000);

</script>


<script>

    var dashSpec = {

        settings: {
            fitModel: 'none'
        },

        sources: {
            '?': {
                dims: {},
                data: []
            },

            '$': {
                dims: {
                    x: {type: 'category'},
                    y: {type: 'category'}
                },
                data: [
                    {x: 1, y: 1},
                    {x: 2, y: 1},
                    {x: 2, y: 2}
                ]
            },

            'o': {
                dims: {
                    label: {type: 'category'},
                    value: {type: 'measure'}
                },
                data: [
                    {"label": "Category A", "value": 20},
                    {"label": "Category B", "value": 50},
                    {"label": "Category C", "value": 30}
                ]
            },

            '/': {
                dims: {
                    story: {type: 'category'},
                    bug: {type: 'category'},
                    project: {type: 'category'},
                    team: {type: 'category'},
                    count: {type: 'measure'},
                    date: {type: 'measure'}
                },
                data: [
                    {
                        project: 'TP3',
                        team: 'alpha',
                        story: 'A1',
                        bug: 'ISSUE1',
                        count: 10,
                        date: new Date('2014-01-05')
                    },
                    {project: 'tau', team: 'xbeta', story: 'B1', bug: 'ISSUE2', count: 15, date: new Date('2014-10-05')}
                ]
            },

            '@': {
                dims: {
                    xdate: {type: 'measure'},
                    count: {type: 'measure'}
                },
                data: [
                    {xdate: 1, count: 31},
                    {xdate: 2, count: 27},
                    {xdate: 3, count: 22},
                    {xdate: 4, count: 13},
                    {xdate: 5, count: 9},
                    {xdate: 6, count: 5},
                    {xdate: 7, count: 1},
                    {xdate: 8, count: -3},
                    {xdate: 9, count: -5},
                    {xdate: 10, count: -7},
                    {xdate: 11, count: -9},
                    {xdate: 12, count: -11},
                    {xdate: 13, count: -17},
                    {xdate: 14, count: -27},
                    {xdate: 15, count: -53}
                ]
            }
        },

        transformations: {

            'regression': function (sVal, props) {

                var x = props.x;
                var y = props.y;

                var src = sVal.map(function (item) {
                    var ix = utils.isDate(item[x]) ? item[x].getTime() : item[x];
                    var iy = utils.isDate(item[y]) ? item[y].getTime() : item[y];
                    return [ix, iy];
                });

                var regression = regressionsHub(props.type, src);
                return regression.points
                        .sort(function (p1, p2) {
                            return p1[0] - p2[0];
                        })
                        .map(function (p) {
                            var item = {};
                            item[x] = p[0];
                            item[y] = p[1];
                            return item;
                        });
            },

            'x-limit': function (data, props) {

                var x = props.x;
                var y = props.y;

                var low = {};
                var top = {};

                low[x] = props.limit;
                low[y] = -Math.max();

                top[x] = props.limit;
                top[y] = +Math.max();

                return [low, top];
            },

            'y-limit': function (data, props) {

                var x = props.x;
                var y = props.y;

                var low = {};
                var top = {};

                low[y] = props.limit;
                low[x] = -Math.max();

                top[y] = props.limit;
                top[x] = +Math.max();

                return [low, top];
            }
        },

        scales: {
            'text:default': {type: 'value', source: '?'},
            'size:default': {type: 'size', name: 'DefSize', fitToFrame: false, source: '?', mid: 5},
            'color:default': {type: 'color', name: 'DefColor', fitToFrame: false, source: '?', brewer: null},
            'story': {type: 'ordinal', name: 'S', fitToFrame: false, source: '/', dim: 'story'},
            'bug': {type: 'ordinal', name: 'B', fitToFrame: false, source: '/', dim: 'bug'},
            'count': {
                type: 'linear',
                name: 'C',
                fitToFrame: false,
                source: '/',
                dim: 'count',
                nice: true,
                min: 0,
                max: 20
            },
            'proj': {type: 'ordinal', name: 'P', fitToFrame: false, source: '/', dim: 'project'},
            'team': {type: 'ordinal', name: 'T', fitToFrame: false, source: '/', dim: 'team'},

            'xScale': {type: 'ordinal', source: '$', dim: 'x'},
            'yScale': {type: 'ordinal', source: '$', dim: 'y'},

            'counz': {type: 'linear', name: 'C', source: '@', dim: 'count', nice: true},
            'xdate': {type: 'linear', name: 'P', source: '@', dim: 'xdate'},

            'annotation1': {type: 'color', name: 'limit', source: '@', dim: 'count', brewer: ['color20-2']},
            'annotation2': {type: 'color', name: 'limit', source: '@', dim: 'count', brewer: ['color20-5']},

            'label': {type: 'value', source: 'o', dim: 'label'},
            'piePortion': {type: 'value', source: 'o', dim: 'value'},
            'label_color': {type: 'color', source: 'o', dim: 'label'}
        },

        unit: {
            type: 'COORDS.RECT',
            x: 'xScale',
            y: 'yScale',
            expression: {
                source: '$',
                inherit: false,
                operator: false
            },
            frames: [
                {
                    key: {x: 2, y: 2},
                    source: '$',
                    pipe: [],
                    units: [
                        {
                            type: 'COORDS.RECT',
                            x: 'xScale',
                            y: 'yScale',
                            expr: ['none', 'o', false],
                            expression: {
                                source: 'o',
                                inherit: false
                            },
                            guide: {
                                showGridLines: '',
                                x: {hide: true},
                                y: {hide: true}
                            },
                            units: [
//                                {
//                                    type: 'PIE',
//                                    proportion: 'piePortion',
//                                    label: 'label',
//                                    color: 'label_color',
//                                    expression: {
//                                        source: 'o',
//                                        inherit: true
//                                    }
//                                }
                            ]
                        }
                    ]
                },
                {
                    key: {x: 2, y: 1},
                    source: '$',
                    pipe: [],
                    units: [
                        {
                            type: 'COORDS.RECT',
                            x: 'proj',
                            y: 'team',
                            expression: {
                                operator: 'cross',
                                source: '/',
                                inherit: false,
                                params: ['project', 'team']
                            },
                            guide: {
                                x: {label: {text: 'project'}},
                                y: {label: {text: 'team'}}
                            },
                            units: [
                                {
                                    type: 'COORDS.RECT',
                                    x: 'count',
                                    y: 'story',
                                    expression: {
                                        source: '/',
                                        inherit: true
                                    },
                                    guide: {
                                        x: {label: {text: 'count'}},
                                        y: {label: {text: 'story'}}
                                    },
                                    units: [
                                        {
                                            type: 'ELEMENT.POINT',
                                            x: 'count',
                                            y: 'story',
                                            expression: {
                                                source: '/',
                                                inherit: true
                                            }
                                        }
                                    ]
                                }
                            ]
                        }
                    ]
                },
                {
                    key: {x: 1, y: 1},
                    source: '$',
                    pipe: [],
                    units: [
                        {
                            type: 'COORDS.RECT',
                            x: 'xdate',
                            y: 'counz',
                            expression: {source: '@', inherit: false},
                            guide: {
                                x: {label: {text: 'XDATE'}},
                                y: {label: {text: 'COUNT'}}
                            },
                            units: [
                                {
                                    type: 'ELEMENT.POINT',
                                    x: 'xdate',
                                    y: 'counz',
                                    expression: {
                                        source: '@',
                                        inherit: true
                                    }
                                },
                                {
                                    type: 'ELEMENT.LINE',
                                    x: 'xdate',
                                    y: 'counz',
                                    expression: {
                                        source: '@',
                                        inherit: true
                                    },
                                    transformation: [{
                                        type: 'regression',
                                        args: {type: 'loess', x: 'xdate', y: 'count'}
                                    }],
                                    guide: {
                                        interpolate: 'basis',
                                        cssClass: 'tau-chart__trendline'
                                    }
                                },
                                {
                                    type: 'ELEMENT.LINE',
                                    x: 'xdate',
                                    y: 'counz',
                                    color: 'annotation1',
                                    expression: {
                                        source: '@',
                                        inherit: true,
                                        operator: 'none'
                                    },
                                    transformation: [
                                        {
                                            type: 'x-limit',
                                            args: {x: 'xdate', y: 'count', limit: 10}
                                        }
                                    ]
                                },
                                {
                                    type: 'ELEMENT.LINE',
                                    x: 'xdate',
                                    y: 'counz',
                                    color: 'annotation2',
                                    expression: {
                                        source: '@',
                                        inherit: true
                                    },
                                    transformation: [{
                                        type: 'y-limit',
                                        args: {
                                            x: 'xdate',
                                            y: 'count',
                                            limit: -25
                                        }
                                    }]
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    };

    var dashGpl = new Taucharts.Plot(dashSpec);

    dashGpl.renderTo('#dashboard');
    </script>

<script>

    var composite = new Taucharts.Plot({

        settings: {
            fitModel: 'none'
        },

        sources: {
            '?': {
                dims: {},
                data: []
            },

            '$': {
                dims: {
                    x: {type: 'category'},
                    y: {type: 'category'}
                },
                data: [
                    {x: 1, y: 1},
                    {x: 1, y: 2}
                ]
            },

            '/': {
                dims: {
                    car: {type: 'category'},
                    co2: {type: 'measure'},
                    hp : {type: 'measure'}
                },
                data: [
                    { car: "BMV X5", co2: 197, hp: 306 },
                    { car: "Bentley Continental", co2: 246 , hp: 507 },
                    { car: "Infinity FX", co2: 238 , hp: 238 },
                    { car: "Toyota Prius+", co2: 96 , hp: 99 },
                    { car: "Mercedes Vito", co2: 203 , hp: 95 },
                    { car: "Peugeot 3008", co2: 155 , hp: 120 },
                    { car: "Volvo S60", co2: 135 , hp: 150 },
                    { car: "Subaru Forester", co2: 186, hp: 150 },
                    { car: "Lexus RX", co2: 233, hp: 188 }
                ]
            }
        },

        scales: {
            'text:default': {type: 'value', source: '?'},
            'xScale': {type: 'ordinal', source: '$', dim: 'x'},
            'yScale': {type: 'ordinal', source: '$', dim: 'y', ratio: {1: 0.4, 2: 0.6}},

            "x_car":{"type":"ordinal","source":"/","dim":"car","nice":true,"dimType":"category"},
            "y_co2":{"type":"linear","source":"/","dim":"co2","nice":true,"dimType":"measure"},
            "y_hp":{"type":"linear","source":"/","dim":"hp","nice":true,"dimType":"measure"},
            "color_undefined":{"type":"color","source":"/"},
            "size_undefined":{"type":"size","source":"/","min":2,"max":10,"mid":5}
        },

        unit: {
            type: "COORDS.RECT",
            x: 'xScale',
            y: 'yScale',
            expression: {
                source: '$',
                inherit: false,
                operator: false
            },
            guide: {
                showGridLines: ""
            },
            frames: [
                {
                    key: {x: 1, y: 1},
                    source: '$',
                    pipe: [],
                    units: [
                        {
                            x: "x_car",
                            y: "y_co2",
                            type: "COORDS.RECT",
                            expression: {
                                inherit: false,
                                operator: "none",
                                params: [],
                                source: "/"
                            },
                            guide: {
                                autoLayout: "",
                                x: {
                                    nice: true,
                                    cssClass: "x axis",
                                    hide: true,
                                    label: {
                                        cssClass: "label",
                                        padding: 129,
                                        rotate: 0,
                                        size: 889.75,
                                        text: "car",
                                        textAnchor: "middle"
                                    },
                                    // padding: 20,
                                    padding: 0,
                                    rotate: 90,
                                    scaleOrient: "bottom",
                                    textAnchor: "start"
                                },
                                y: {
                                    nice: true,
                                    cssClass: "y axis",
                                    hide: false,
                                    label: {
                                        cssClass: "label",
                                        padding: 70.25,
                                        rotate: -90,
                                        size: 431,
                                        text: "co2",
                                        textAnchor: "middle"
                                    },
                                    padding: 20,
                                    rotate: 0,
                                    scaleOrient: "left",
                                    textAnchor: "end",
                                    tickFormat: "x-num-auto"
                                },
                                padding: {
                                    // b: 159,
                                    b: 0,
                                    l: 100.25,
                                    r: 10,
                                    t: 10
                                },
                                showGridLines: "xy"
                            },

                            units: [
                                {
                                    size: "size_undefined",
                                    type: "ELEMENT.LINE",
                                    x: "x_car",
                                    y: "y_co2",
                                    color: "color_undefined",
                                    expression: {
                                        inherit: false,
                                        operator: "none",
                                        params: [],
                                        source: "/"
                                    },
                                    guide: {
                                        anchors: false,
                                        cssClass: "i-role-datum",
                                        showGridLines: "xy",
                                        widthCssClass: ""
                                    }
                                }
                            ]
                        }
                    ]
                }
                ,
                {
                    key: {x: 1, y: 2},
                    source: '$',
                    pipe: [],
                    units: [
                        {
                            x: "x_car",
                            y: "y_hp",
                            type: "COORDS.RECT",
                            expression: {
                                inherit: false,
                                operator: "none",
                                params: [],
                                source: "/"
                            },
                            guide: {
                                autoLayout: "",
                                x: {
                                    nice: true,
                                    cssClass: "x axis",
                                    hide: false,
                                    label: {
                                        cssClass: "label",
                                        padding: 129,
                                        rotate: 0,
                                        size: 889.75,
                                        text: "car",
                                        textAnchor: "middle"
                                    },
                                    padding: 20,
                                    rotate: 90,
                                    scaleOrient: "bottom",
                                    textAnchor: "start"
                                },
                                y: {
                                    nice: true,
                                    cssClass: "y axis",
                                    hide: false,
                                    label: {
                                        cssClass: "label",
                                        padding: 70.25,
                                        rotate: -90,
                                        size: 431,
                                        text: "hp",
                                        textAnchor: "middle"
                                    },
                                    padding: 20,
                                    rotate: 0,
                                    scaleOrient: "left",
                                    textAnchor: "end",
                                    tickFormat: "x-num-auto"
                                },
                                padding: {
                                    b: 159,
                                    l: 100.25,
                                    r: 10,
                                    t: 10
                                },
                                showGridLines: "xy"
                            },

                            units: [
                                {
                                    size: "size_undefined",
                                    type: "ELEMENT.LINE",
                                    x: "x_car",
                                    y: "y_hp",
                                    color: "color_undefined",
                                    expression: {
                                        inherit: false,
                                        operator: "none",
                                        params: [],
                                        source: "/"
                                    },
                                    guide: {
                                        anchors: false,
                                        cssClass: "i-role-datum",
                                        showGridLines: "xy",
                                        widthCssClass: ""
                                    }
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    });

    composite.renderTo('#composite');
</script>

<script>


    var composite1place = new Taucharts.Plot({

        settings: {
            fitModel: 'none'
        },

        sources: {
            '?': {
                dims: {},
                data: []
            },

            '$': {
                dims: {
                    x: {type: 'category'},
                    y: {type: 'category'}
                },
                data: [
                    {x: 1, y: 1}
                ]
            },

            '/': {
                dims: {
                    car: {type: 'category'},
                    co2: {type: 'measure'},
                    hp : {type: 'measure'}
                },
                data: [
                    { car: "BMV X5", co2: 197, hp: 306 },
                    { car: "Bentley Continental", co2: 246 , hp: 507 },
                    { car: "Infinity FX", co2: 238 , hp: 238 },
                    { car: "Toyota Prius+", co2: 96 , hp: 99 },
                    { car: "Mercedes Vito", co2: 203 , hp: 95 },
                    { car: "Peugeot 3008", co2: 155 , hp: 120 },
                    { car: "Volvo S60", co2: 135 , hp: 150 },
                    { car: "Subaru Forester", co2: 186, hp: 150 },
                    { car: "Lexus RX", co2: 233, hp: 188 }
                ]
            }
        },

        scales: {
            'text:default': {type: 'value', source: '?'},
            'xScale': {type: 'ordinal', source: '$', dim: 'x'},
            'yScale': {type: 'ordinal', source: '$', dim: 'y'},

            "x_car":{"type":"ordinal","source":"/","dim":"car","nice":true,"dimType":"category"},
            "y_co2":{"type":"linear","source":"/","dim":"co2","nice":true,"dimType":"measure"},
            "y_hp":{"type":"linear","source":"/","dim":"hp","nice":true,"dimType":"measure"},
            "color_undefined":{"type":"color","source":"/"},
            "color_undefined2":{"type":"color","source":"/", brewer: ['color20-2']},
            "size_undefined":{"type":"size","source":"/","min":2,"max":10,"mid":5}
        },

        unit: {
            type: "COORDS.RECT",
            x: 'xScale',
            y: 'yScale',
            expression: {
                source: '$',
                inherit: false,
                operator: false
            },
            guide: {
                showGridLines: ""
            },
            frames: [
                {
                    key: {x: 1, y: 1, i:0},
                    source: '$',
                    pipe: [],
                    units: [
                        {
                            x: "x_car",
                            y: "y_co2",
                            type: "COORDS.RECT",
                            expression: {
                                inherit: false,
                                operator: "none",
                                params: [],
                                source: "/"
                            },
                            guide: {
                                autoLayout: "",
                                x: {
                                    nice: true,
                                    cssClass: "x axis",
                                    hide: false,
                                    label: {
                                        cssClass: "label",
                                        padding: 129,
                                        rotate: 0,
                                        size: 889.75,
                                        text: "car",
                                        textAnchor: "middle"
                                    },
                                    padding: 20,
                                    rotate: 90,
                                    scaleOrient: "bottom",
                                    textAnchor: "start"
                                },
                                y: {
                                    nice: true,
                                    cssClass: "y axis",
                                    hide: false,
                                    label: {
                                        cssClass: "label",
                                        padding: 70.25,
                                        rotate: -90,
                                        size: 431,
                                        text: "co2, hp",
                                        textAnchor: "middle"
                                    },
                                    padding: 20,
                                    rotate: 0,
                                    scaleOrient: "left",
                                    textAnchor: "end",
                                    tickFormat: "x-num-auto"
                                },
                                padding: {
                                    b: 159,
                                    l: 100.25,
                                    r: 10,
                                    t: 10
                                },
                                showGridLines: "xy"
                            },

                            units: [
                                {
                                    size: "size_undefined",
                                    type: "ELEMENT.LINE",
                                    x: "x_car",
                                    y: "y_co2",
                                    color: "color_undefined",
                                    expression: {
                                        inherit: false,
                                        operator: "none",
                                        params: [],
                                        source: "/"
                                    },
                                    guide: {
                                        anchors: false,
                                        cssClass: "i-role-datum",
                                        showGridLines: "xy",
                                        widthCssClass: ""
                                    }
                                }
                            ]
                        }
                    ]
                }
                ,
                {
                    key: {x: 1, y: 1, i:1},
                    source: '$',
                    pipe: [],
                    units: [
                        {
                            x: "x_car",
                            y: "y_hp",
                            type: "COORDS.RECT",
                            expression: {
                                inherit: false,
                                operator: "none",
                                params: [],
                                source: "/"
                            },
                            guide: {
                                autoLayout: "",
                                x: {
                                    nice: true,
                                    cssClass: "x axis",
                                    hide: true,
                                    label: {
                                        cssClass: "label",
                                        padding: 129,
                                        rotate: 0,
                                        size: 889.75,
                                        text: "car",
                                        textAnchor: "middle"
                                    },
                                    padding: 20,
                                    rotate: 90,
                                    scaleOrient: "bottom",
                                    textAnchor: "start"
                                },
                                y: {
                                    nice: true,
                                    cssClass: "y axis",
                                    hide: false,
                                    label: {
                                        cssClass: "label",
                                        // padding: 70.25,
                                        padding: 0,
                                        rotate: -90,
                                        size: 431,
                                        text: "",
                                        textAnchor: "middle"
                                    },
                                    padding: 55,
                                    rotate: 0,
                                    scaleOrient: "left",
                                    textAnchor: "end",
                                    tickFormat: "x-num-auto"
                                },
                                padding: {
                                    b: 159,
                                    l: 100.25,
                                    r: 10,
                                    t: 10
                                },
                                showGridLines: ""
                            },

                            units: [
                                {
                                    size: "size_undefined",
                                    type: "ELEMENT.LINE",
                                    x: "x_car",
                                    y: "y_hp",
                                    color: "color_undefined2",
                                    expression: {
                                        inherit: false,
                                        operator: "none",
                                        params: [],
                                        source: "/"
                                    },
                                    guide: {
                                        anchors: false,
                                        cssClass: "i-role-datum",
                                        showGridLines: "xy",
                                        widthCssClass: ""
                                    }
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    });

    composite1place.renderTo('#composite1');
</script>

<script>
    var composite2 = new Taucharts.Chart({

        data: [
            {car: "BMV X5", co2: 197, hp: 306},
            {car: "Bentley Continental", co2: 246, hp: 507},
            {car: "Infinity FX", co2: 238, hp: 238},
            {car: "Toyota Prius+", co2: 96, hp: 99},
            {car: "Mercedes Vito", co2: 203, hp: 95},
            {car: "Peugeot 3008", co2: 155, hp: 120},
            {car: "Volvo S60", co2: 135, hp: 150},
            {car: "Subaru Forester", co2: 186, hp: 150},
            {car: "Lexus RX", co2: 233, hp: 188}
        ].reduce(function (memo, row) {
                    var r1 = Object.assign({}, row);
                    r1['co2-hp-type'] = 'co2';
                    r1['co2,hp'] = row['co2'];
                    var r2 = Object.assign({}, row);
                    r1['co2-hp-type'] = 'hp';
                    r2['co2,hp'] = row['hp'];
                    return memo.concat([r1, r2]);
                }, []),

        "type": "line",
        "x": ["car"],
        "y": ["co2,hp"],
        "color": "co2-hp-type"
    });

    composite2.on('specready', function (chart, e) {
        var spec = chart.getSpec();
        console.log(spec);
    });

    composite2.renderTo('#composite2');
</script>

<script>
    var composite3 = new Taucharts.Chart({

        plugins: [
            Taucharts.api.plugins.get('trendline')({showPanel:true})
        ],

        "type": "scatterplot",
        "color": "color",
        "size": "size",
        "x": [
            "x1"
        ],
        "y": [
            "y1",
            "y2"
        ],
        "guide": [
            {
                "y": {
                    "label": "Team",
                    "tickLabel": "name"
                }
            },
            {
                "x": {
                    "label": "Average(CycleTime)"
                },
                "y": {
                    "label": "End Date By Month",
                    "tickPeriod": "month"
                },
                "color": {
                    "label": "Feature Epic",
                    "tickLabel": "name"
                },
                "size": {
                    "label": "Count"
                }
            }
        ],
        "dimensions": {
            "x1": {
                "type": "measure",
                "scale": "linear"
            },
            "y1": {
                "type": "category",
                "scale": "ordinal",
                "value": "id"
            },
            "y2": {
                "type": "order",
                "scale": "period"
            },
            "size": {
                "type": "measure",
                "scale": "linear"
            },
            "color": {
                "type": "category",
                "scale": "ordinal",
                "value": "id"
            }
        },
        data: [
            {
                "x1": 37.6573688271605,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1393653600000-0600)\/",
                "size": 3,
                "color": {"resourceType": "Epic", "id": 88834, "name": "Performance"},
                "dataItem": null
            }, {
                "x1": 18.63890842013889,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1393653600000-0600)\/",
                "size": 16,
                "color": {"resourceType": "Epic", "id": 88831, "name": "Lists"},
                "dataItem": null
            }, {
                "x1": 15.825466820987653,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1393653600000-0600)\/",
                "size": 9,
                "color": {"resourceType": "Epic", "id": 88830, "name": "Timelines"},
                "dataItem": null
            }, {
                "x1": 20.841944444444444,
                "y1": {"resourceType": "Team", "id": 54991, "name": "cluster6"},
                "y2": "\/Date(1396328400000-0500)\/",
                "size": 1,
                "color": null,
                "dataItem": null
            }, {
                "x1": 13.105758101851851,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1396328400000-0500)\/",
                "size": 4,
                "color": {"resourceType": "Epic", "id": 88831, "name": "Lists"},
                "dataItem": null
            }, {
                "x1": 10.592920524691358,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1396328400000-0500)\/",
                "size": 3,
                "color": {"resourceType": "Epic", "id": 88830, "name": "Timelines"},
                "dataItem": null
            }, {
                "x1": 26.190420524691358,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1398920400000-0500)\/",
                "size": 6,
                "color": {"resourceType": "Epic", "id": 88830, "name": "Timelines"},
                "dataItem": null
            }, {
                "x1": 22.197160493827159,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1398920400000-0500)\/",
                "size": 6,
                "color": {"resourceType": "Epic", "id": 88831, "name": "Lists"},
                "dataItem": null
            }, {
                "x1": 6.1053356481481478,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1398920400000-0500)\/",
                "size": 1,
                "color": {"resourceType": "Epic", "id": 97575, "name": "Views menu"},
                "dataItem": null
            }, {
                "x1": 1.9408217592592591,
                "y1": {"resourceType": "Team", "id": 54991, "name": "cluster6"},
                "y2": "\/Date(1398920400000-0500)\/",
                "size": 1,
                "color": null,
                "dataItem": null
            }, {
                "x1": 70.087199074074078,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1401598800000-0500)\/",
                "size": 1,
                "color": {"resourceType": "Epic", "id": 88831, "name": "Lists"},
                "dataItem": null
            }, {
                "x1": 12.932194444444443,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1401598800000-0500)\/",
                "size": 5,
                "color": {"resourceType": "Epic", "id": 88830, "name": "Timelines"},
                "dataItem": null
            }, {
                "x1": 10.890868055555554,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1401598800000-0500)\/",
                "size": 2,
                "color": {"resourceType": "Epic", "id": 97575, "name": "Views menu"},
                "dataItem": null
            }, {
                "x1": 8.180489417989417,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1401598800000-0500)\/",
                "size": 7,
                "color": null,
                "dataItem": null
            }, {
                "x1": 0.0497337962962963,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1401598800000-0500)\/",
                "size": 1,
                "color": {"resourceType": "Epic", "id": 88835, "name": "Portfolio / Allocation Management"},
                "dataItem": null
            }, {
                "x1": 0.0,
                "y1": {"resourceType": "Team", "id": 53851, "name": "Multi-Teams"},
                "y2": "\/Date(1401598800000-0500)\/",
                "size": 1,
                "color": null,
                "dataItem": null
            }, {
                "x1": 49.254259259259257,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1404190800000-0500)\/",
                "size": 1,
                "color": {"resourceType": "Epic", "id": 88833, "name": "Getting Started"},
                "dataItem": null
            }, {
                "x1": 41.997442129629633,
                "y1": {"resourceType": "Team", "id": 79982, "name": "NEW TEAM"},
                "y2": "\/Date(1404190800000-0500)\/",
                "size": 1,
                "color": {"resourceType": "Epic", "id": 88834, "name": "Performance"},
                "dataItem": null
            }, {
                "x1": 16.003865740740739,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1404190800000-0500)\/",
                "size": 1,
                "color": {"resourceType": "Epic", "id": 88835, "name": "Portfolio / Allocation Management"},
                "dataItem": null
            }, {
                "x1": 10.637938924501423,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1404190800000-0500)\/",
                "size": 13,
                "color": null,
                "dataItem": null
            }, {
                "x1": 7.1633564814814816,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1404190800000-0500)\/",
                "size": 1,
                "color": {"resourceType": "Epic", "id": 88825, "name": "Process Workflow"},
                "dataItem": null
            }, {
                "x1": 5.7236531986531984,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1404190800000-0500)\/",
                "size": 11,
                "color": {"resourceType": "Epic", "id": 97575, "name": "Views menu"},
                "dataItem": null
            }, {
                "x1": 111.72964120370371,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1406869200000-0500)\/",
                "size": 1,
                "color": {"resourceType": "Epic", "id": 88831, "name": "Lists"},
                "dataItem": null
            }, {
                "x1": 57.946712962962962,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1406869200000-0500)\/",
                "size": 1,
                "color": {"resourceType": "Epic", "id": 88833, "name": "Getting Started"},
                "dataItem": null
            }, {
                "x1": 29.759340277777778,
                "y1": {"resourceType": "Team", "id": 79982, "name": "NEW TEAM"},
                "y2": "\/Date(1406869200000-0500)\/",
                "size": 1,
                "color": null,
                "dataItem": null
            }, {
                "x1": 17.173686985596706,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1406869200000-0500)\/",
                "size": 9,
                "color": null,
                "dataItem": null
            }, {
                "x1": 14.538090277777778,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1406869200000-0500)\/",
                "size": 3,
                "color": {"resourceType": "Epic", "id": 88835, "name": "Portfolio / Allocation Management"},
                "dataItem": null
            }, {
                "x1": 12.9303125,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1406869200000-0500)\/",
                "size": 1,
                "color": {"resourceType": "Epic", "id": 88830, "name": "Timelines"},
                "dataItem": null
            }, {
                "x1": 12.895069444444445,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1406869200000-0500)\/",
                "size": 9,
                "color": {"resourceType": "Epic", "id": 97575, "name": "Views menu"},
                "dataItem": null
            }, {
                "x1": 12.563123346560845,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1406869200000-0500)\/",
                "size": 7,
                "color": {"resourceType": "Epic", "id": 88825, "name": "Process Workflow"},
                "dataItem": null
            }, {
                "x1": 6.0269675925925927,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1406869200000-0500)\/",
                "size": 1,
                "color": {"resourceType": "Epic", "id": 90680, "name": "Follow Entity"},
                "dataItem": null
            }, {
                "x1": 5.0384529320987657,
                "y1": {"resourceType": "Team", "id": 79982, "name": "NEW TEAM"},
                "y2": "\/Date(1406869200000-0500)\/",
                "size": 3,
                "color": {"resourceType": "Epic", "id": 88835, "name": "Portfolio / Allocation Management"},
                "dataItem": null
            }, {
                "x1": 0.0,
                "y1": {"resourceType": "Team", "id": 54991, "name": "cluster6"},
                "y2": "\/Date(1406869200000-0500)\/",
                "size": 1,
                "color": null,
                "dataItem": null
            }, {
                "x1": 19.769232253086418,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1409547600000-0500)\/",
                "size": 3,
                "color": null,
                "dataItem": null
            }, {
                "x1": 17.262719907407408,
                "y1": {"resourceType": "Team", "id": 79982, "name": "NEW TEAM"},
                "y2": "\/Date(1409547600000-0500)\/",
                "size": 1,
                "color": {"resourceType": "Epic", "id": 88835, "name": "Portfolio / Allocation Management"},
                "dataItem": null
            }, {
                "x1": 9.5084871031746019,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1409547600000-0500)\/",
                "size": 14,
                "color": {"resourceType": "Epic", "id": 90680, "name": "Follow Entity"},
                "dataItem": null
            }, {
                "x1": 8.5356685729847523,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1409547600000-0500)\/",
                "size": 17,
                "color": {"resourceType": "Epic", "id": 88825, "name": "Process Workflow"},
                "dataItem": null
            }, {
                "x1": 4.1507870370370368,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1409547600000-0500)\/",
                "size": 1,
                "color": {"resourceType": "Epic", "id": 89484, "name": "Custom Reports"},
                "dataItem": null
            }, {
                "x1": 3.7484490740740743,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1409547600000-0500)\/",
                "size": 29,
                "color": {"resourceType": "Epic", "id": 89476, "name": "Epics"},
                "dataItem": null
            }, {
                "x1": 12.503796296296297,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1412139600000-0500)\/",
                "size": 2,
                "color": {"resourceType": "Epic", "id": 89476, "name": "Epics"},
                "dataItem": null
            }, {
                "x1": 11.962769820601849,
                "y1": {"resourceType": "Team", "id": 79982, "name": "NEW TEAM"},
                "y2": "\/Date(1412139600000-0500)\/",
                "size": 16,
                "color": {"resourceType": "Epic", "id": 90677, "name": "Cross-Project Releases"},
                "dataItem": null
            }, {
                "x1": 9.4425115740740733,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1412139600000-0500)\/",
                "size": 14,
                "color": {"resourceType": "Epic", "id": 88825, "name": "Process Workflow"},
                "dataItem": null
            }, {
                "x1": 8.6983611111111117,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1412139600000-0500)\/",
                "size": 10,
                "color": {"resourceType": "Epic", "id": 89484, "name": "Custom Reports"},
                "dataItem": null
            }, {
                "x1": 8.6911747685185183,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1412139600000-0500)\/",
                "size": 2,
                "color": {"resourceType": "Epic", "id": 90680, "name": "Follow Entity"},
                "dataItem": null
            }, {
                "x1": 8.38274112654321,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1412139600000-0500)\/",
                "size": 6,
                "color": {"resourceType": "Epic", "id": 90678, "name": "Dashboards"},
                "dataItem": null
            }, {
                "x1": 0.0,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1412139600000-0500)\/",
                "size": 1,
                "color": null,
                "dataItem": null
            }, {
                "x1": 0.0,
                "y1": {"resourceType": "Team", "id": 70097, "name": "Product Specialists"},
                "y2": "\/Date(1412139600000-0500)\/",
                "size": 1,
                "color": null,
                "dataItem": null
            }, {
                "x1": 15.666881944444443,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1414818000000-0500)\/",
                "size": 15,
                "color": {"resourceType": "Epic", "id": 89484, "name": "Custom Reports"},
                "dataItem": null
            }, {
                "x1": 5.8683007812500021,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1414818000000-0500)\/",
                "size": 16,
                "color": {"resourceType": "Epic", "id": 90678, "name": "Dashboards"},
                "dataItem": null
            }, {
                "x1": 4.385011574074074,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1414818000000-0500)\/",
                "size": 4,
                "color": {"resourceType": "Epic", "id": 88825, "name": "Process Workflow"},
                "dataItem": null
            }, {
                "x1": 17.176230008417509,
                "y1": {"resourceType": "Team", "id": 79982, "name": "NEW TEAM"},
                "y2": "\/Date(1417413600000-0600)\/",
                "size": 11,
                "color": {"resourceType": "Epic", "id": 90679, "name": "Custom Rules"},
                "dataItem": null
            }, {
                "x1": 13.261506139291466,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1417413600000-0600)\/",
                "size": 23,
                "color": {"resourceType": "Epic", "id": 89484, "name": "Custom Reports"},
                "dataItem": null
            }, {
                "x1": 11.778417438271607,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1417413600000-0600)\/",
                "size": 15,
                "color": {"resourceType": "Epic", "id": 88825, "name": "Process Workflow"},
                "dataItem": null
            }, {
                "x1": 8.8755989583333328,
                "y1": {"resourceType": "Team", "id": 79982, "name": "NEW TEAM"},
                "y2": "\/Date(1417413600000-0600)\/",
                "size": 8,
                "color": {"resourceType": "Epic", "id": 90677, "name": "Cross-Project Releases"},
                "dataItem": null
            }, {
                "x1": 8.2113324652777777,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1417413600000-0600)\/",
                "size": 8,
                "color": {"resourceType": "Epic", "id": 90678, "name": "Dashboards"},
                "dataItem": null
            }, {
                "x1": 28.88835648148148,
                "y1": {"resourceType": "Team", "id": 79982, "name": "NEW TEAM"},
                "y2": "\/Date(1420092000000-0600)\/",
                "size": 5,
                "color": {"resourceType": "Epic", "id": 90677, "name": "Cross-Project Releases"},
                "dataItem": null
            }, {
                "x1": 23.99299382716049,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1420092000000-0600)\/",
                "size": 3,
                "color": {"resourceType": "Epic", "id": 88825, "name": "Process Workflow"},
                "dataItem": null
            }, {
                "x1": 21.711800595238095,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1420092000000-0600)\/",
                "size": 7,
                "color": {"resourceType": "Epic", "id": 89484, "name": "Custom Reports"},
                "dataItem": null
            }, {
                "x1": 20.47615162037037,
                "y1": {"resourceType": "Team", "id": 79982, "name": "NEW TEAM"},
                "y2": "\/Date(1420092000000-0600)\/",
                "size": 2,
                "color": {"resourceType": "Epic", "id": 90679, "name": "Custom Rules"},
                "dataItem": null
            }, {
                "x1": 12.976377314814815,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1420092000000-0600)\/",
                "size": 8,
                "color": {"resourceType": "Epic", "id": 90678, "name": "Dashboards"},
                "dataItem": null
            }, {
                "x1": 9.7901504629629628,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1420092000000-0600)\/",
                "size": 1,
                "color": {"resourceType": "Epic", "id": 90682, "name": "Help Desk"},
                "dataItem": null
            }, {
                "x1": 0.929537037037037,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1420092000000-0600)\/",
                "size": 1,
                "color": null,
                "dataItem": null
            }, {
                "x1": 44.220740740740737,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1422770400000-0600)\/",
                "size": 1,
                "color": {"resourceType": "Epic", "id": 90678, "name": "Dashboards"},
                "dataItem": null
            }, {
                "x1": 16.88019675925926,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1422770400000-0600)\/",
                "size": 6,
                "color": {"resourceType": "Epic", "id": 89484, "name": "Custom Reports"},
                "dataItem": null
            }, {
                "x1": 12.271935185185185,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1422770400000-0600)\/",
                "size": 5,
                "color": {"resourceType": "Epic", "id": 90682, "name": "Help Desk"},
                "dataItem": null
            }, {
                "x1": 6.7260995370370367,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1422770400000-0600)\/",
                "size": 1,
                "color": {"resourceType": "Epic", "id": 90684, "name": "GUI filters"},
                "dataItem": null
            }, {
                "x1": 6.3752006172839506,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1422770400000-0600)\/",
                "size": 9,
                "color": {"resourceType": "Epic", "id": 88831, "name": "Lists"},
                "dataItem": null
            }, {
                "x1": 6.0189602623456793,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1422770400000-0600)\/",
                "size": 6,
                "color": null,
                "dataItem": null
            }, {
                "x1": 4.78218287037037,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1422770400000-0600)\/",
                "size": 5,
                "color": {"resourceType": "Epic", "id": 97575, "name": "Views menu"},
                "dataItem": null
            }, {
                "x1": 21.974155092592593,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1425189600000-0600)\/",
                "size": 1,
                "color": {"resourceType": "Epic", "id": 90684, "name": "GUI filters"},
                "dataItem": null
            }, {
                "x1": 17.77939236111111,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1425189600000-0600)\/",
                "size": 2,
                "color": {"resourceType": "Epic", "id": 89484, "name": "Custom Reports"},
                "dataItem": null
            }, {
                "x1": 16.130408950617284,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1425189600000-0600)\/",
                "size": 3,
                "color": {"resourceType": "Epic", "id": 97575, "name": "Views menu"},
                "dataItem": null
            }, {
                "x1": 14.338096707818929,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1425189600000-0600)\/",
                "size": 9,
                "color": {"resourceType": "Epic", "id": 90682, "name": "Help Desk"},
                "dataItem": null
            }, {
                "x1": 12.541251929012345,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1425189600000-0600)\/",
                "size": 6,
                "color": {"resourceType": "Epic", "id": 97783, "name": "Portfolio Management"},
                "dataItem": null
            }, {
                "x1": 12.132423611111109,
                "y1": {"resourceType": "Team", "id": 54991, "name": "cluster6"},
                "y2": "\/Date(1425189600000-0600)\/",
                "size": 5,
                "color": {"resourceType": "Epic", "id": 97783, "name": "Portfolio Management"},
                "dataItem": null
            }, {
                "x1": 9.396875,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1425189600000-0600)\/",
                "size": 2,
                "color": {"resourceType": "Epic", "id": 88831, "name": "Lists"},
                "dataItem": null
            }, {
                "x1": 5.7315335648148151,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1425189600000-0600)\/",
                "size": 4,
                "color": {"resourceType": "Epic", "id": 88825, "name": "Process Workflow"},
                "dataItem": null
            }, {
                "x1": 4.1816782407407409,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1425189600000-0600)\/",
                "size": 1,
                "color": {"resourceType": "Epic", "id": 97783, "name": "Portfolio Management"},
                "dataItem": null
            }, {
                "x1": 3.069212962962963,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1425189600000-0600)\/",
                "size": 2,
                "color": {"resourceType": "Epic", "id": 89476, "name": "Epics"},
                "dataItem": null
            }, {
                "x1": 2.9794791666666671,
                "y1": {"resourceType": "Team", "id": 79982, "name": "NEW TEAM"},
                "y2": "\/Date(1425189600000-0600)\/",
                "size": 4,
                "color": {"resourceType": "Epic", "id": 88834, "name": "Performance"},
                "dataItem": null
            }, {
                "x1": 1.0894907407407408,
                "y1": {"resourceType": "Team", "id": 79982, "name": "NEW TEAM"},
                "y2": "\/Date(1425189600000-0600)\/",
                "size": 1,
                "color": {"resourceType": "Epic", "id": 90677, "name": "Cross-Project Releases"},
                "dataItem": null
            }, {
                "x1": 0.0,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1425189600000-0600)\/",
                "size": 2,
                "color": null,
                "dataItem": null
            }, {
                "x1": 35.982719907407407,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1427864400000-0500)\/",
                "size": 1,
                "color": {"resourceType": "Epic", "id": 89484, "name": "Custom Reports"},
                "dataItem": null
            }, {
                "x1": 24.661392746913577,
                "y1": {"resourceType": "Team", "id": 54991, "name": "cluster6"},
                "y2": "\/Date(1427864400000-0500)\/",
                "size": 3,
                "color": {"resourceType": "Epic", "id": 97783, "name": "Portfolio Management"},
                "dataItem": null
            }, {
                "x1": 19.493339763374486,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1427864400000-0500)\/",
                "size": 9,
                "color": {"resourceType": "Epic", "id": 90682, "name": "Help Desk"},
                "dataItem": null
            }, {
                "x1": 15.432199074074074,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1427864400000-0500)\/",
                "size": 1,
                "color": null,
                "dataItem": null
            }, {
                "x1": 13.510111400462963,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1427864400000-0500)\/",
                "size": 8,
                "color": null,
                "dataItem": null
            }, {
                "x1": 10.996223958333333,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1427864400000-0500)\/",
                "size": 4,
                "color": {"resourceType": "Epic", "id": 88825, "name": "Process Workflow"},
                "dataItem": null
            }, {
                "x1": 10.613428240740742,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1427864400000-0500)\/",
                "size": 5,
                "color": {"resourceType": "Epic", "id": 97783, "name": "Portfolio Management"},
                "dataItem": null
            }, {
                "x1": 10.088530092592592,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1427864400000-0500)\/",
                "size": 2,
                "color": {"resourceType": "Epic", "id": 97783, "name": "Portfolio Management"},
                "dataItem": null
            }, {
                "x1": 8.3265558862433853,
                "y1": {"resourceType": "Team", "id": 79982, "name": "NEW TEAM"},
                "y2": "\/Date(1427864400000-0500)\/",
                "size": 14,
                "color": {"resourceType": "Epic", "id": 88834, "name": "Performance"},
                "dataItem": null
            }, {
                "x1": 6.4662139917695463,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1427864400000-0500)\/",
                "size": 9,
                "color": {"resourceType": "Epic", "id": 90684, "name": "GUI filters"},
                "dataItem": null
            }, {
                "x1": 0.0,
                "y1": {"resourceType": "Team", "id": 70097, "name": "Product Specialists"},
                "y2": "\/Date(1427864400000-0500)\/",
                "size": 2,
                "color": null,
                "dataItem": null
            }, {
                "x1": 38.199328703703706,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1430456400000-0500)\/",
                "size": 1,
                "color": {"resourceType": "Epic", "id": 90682, "name": "Help Desk"},
                "dataItem": null
            }, {
                "x1": 20.367702546296297,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1430456400000-0500)\/",
                "size": 2,
                "color": null,
                "dataItem": null
            }, {
                "x1": 18.968015046296298,
                "y1": {"resourceType": "Team", "id": 54991, "name": "cluster6"},
                "y2": "\/Date(1430456400000-0500)\/",
                "size": 4,
                "color": {"resourceType": "Epic", "id": 97782, "name": "People Management"},
                "dataItem": null
            }, {
                "x1": 15.727478505291005,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1430456400000-0500)\/",
                "size": 7,
                "color": {"resourceType": "Epic", "id": 97783, "name": "Portfolio Management"},
                "dataItem": null
            }, {
                "x1": 15.490767746913582,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1430456400000-0500)\/",
                "size": 3,
                "color": {"resourceType": "Epic", "id": 90684, "name": "GUI filters"},
                "dataItem": null
            }, {
                "x1": 14.764131944444445,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1430456400000-0500)\/",
                "size": 1,
                "color": null,
                "dataItem": null
            }, {
                "x1": 11.743402777777778,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1430456400000-0500)\/",
                "size": 9,
                "color": {"resourceType": "Epic", "id": 88825, "name": "Process Workflow"},
                "dataItem": null
            }, {
                "x1": 11.27656635802469,
                "y1": {"resourceType": "Team", "id": 79982, "name": "NEW TEAM"},
                "y2": "\/Date(1430456400000-0500)\/",
                "size": 3,
                "color": {"resourceType": "Epic", "id": 88834, "name": "Performance"},
                "dataItem": null
            }, {
                "x1": 10.832719907407407,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1430456400000-0500)\/",
                "size": 1,
                "color": {"resourceType": "Epic", "id": 97783, "name": "Portfolio Management"},
                "dataItem": null
            }, {
                "x1": 4.8867708333333333,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1430456400000-0500)\/",
                "size": 1,
                "color": {"resourceType": "Epic", "id": 88831, "name": "Lists"},
                "dataItem": null
            }, {
                "x1": 1.1454282407407408,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1430456400000-0500)\/",
                "size": 1,
                "color": null,
                "dataItem": null
            }, {
                "x1": 118.9417824074074,
                "y1": {"resourceType": "Team", "id": 79982, "name": "NEW TEAM"},
                "y2": "\/Date(1433134800000-0500)\/",
                "size": 18,
                "color": {"resourceType": "Epic", "id": 96597, "name": "SSO"},
                "dataItem": null
            }, {
                "x1": 55.954846230158729,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1433134800000-0500)\/",
                "size": 7,
                "color": {"resourceType": "Epic", "id": 89484, "name": "Custom Reports"},
                "dataItem": null
            }, {
                "x1": 26.277758487654321,
                "y1": {"resourceType": "Team", "id": 79982, "name": "NEW TEAM"},
                "y2": "\/Date(1433134800000-0500)\/",
                "size": 6,
                "color": {"resourceType": "Epic", "id": 88834, "name": "Performance"},
                "dataItem": null
            }, {
                "x1": 24.216338734567902,
                "y1": {"resourceType": "Team", "id": 54991, "name": "cluster6"},
                "y2": "\/Date(1433134800000-0500)\/",
                "size": 6,
                "color": {"resourceType": "Epic", "id": 97782, "name": "People Management"},
                "dataItem": null
            }, {
                "x1": 22.96745949074074,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1433134800000-0500)\/",
                "size": 4,
                "color": null,
                "dataItem": null
            }, {
                "x1": 17.703138888888891,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1433134800000-0500)\/",
                "size": 5,
                "color": {"resourceType": "Epic", "id": 88825, "name": "Process Workflow"},
                "dataItem": null
            }, {
                "x1": 6.8875694444444449,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1433134800000-0500)\/",
                "size": 1,
                "color": {"resourceType": "Epic", "id": 88831, "name": "Lists"},
                "dataItem": null
            }, {
                "x1": 5.9613753858024694,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1433134800000-0500)\/",
                "size": 6,
                "color": {"resourceType": "Epic", "id": 89476, "name": "Epics"},
                "dataItem": null
            }, {
                "x1": 3.1137615740740743,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1433134800000-0500)\/",
                "size": 1,
                "color": {"resourceType": "Epic", "id": 90684, "name": "GUI filters"},
                "dataItem": null
            }, {
                "x1": 2.3995023148148147,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1433134800000-0500)\/",
                "size": 2,
                "color": {"resourceType": "Epic", "id": 97783, "name": "Portfolio Management"},
                "dataItem": null
            }, {
                "x1": 37.464841820987651,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1435726800000-0500)\/",
                "size": 3,
                "color": null,
                "dataItem": null
            }, {
                "x1": 28.217282986111108,
                "y1": {"resourceType": "Team", "id": 54991, "name": "cluster6"},
                "y2": "\/Date(1435726800000-0500)\/",
                "size": 8,
                "color": {"resourceType": "Epic", "id": 97782, "name": "People Management"},
                "dataItem": null
            }, {
                "x1": 23.343622685185185,
                "y1": {"resourceType": "Team", "id": 79982, "name": "NEW TEAM"},
                "y2": "\/Date(1435726800000-0500)\/",
                "size": 2,
                "color": null,
                "dataItem": null
            }, {
                "x1": 19.376707175925926,
                "y1": {"resourceType": "Team", "id": 79982, "name": "NEW TEAM"},
                "y2": "\/Date(1435726800000-0500)\/",
                "size": 4,
                "color": {"resourceType": "Epic", "id": 88834, "name": "Performance"},
                "dataItem": null
            }, {
                "x1": 11.622384259259258,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1435726800000-0500)\/",
                "size": 6,
                "color": {"resourceType": "Epic", "id": 89484, "name": "Custom Reports"},
                "dataItem": null
            }, {
                "x1": 9.9253001543209862,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1435726800000-0500)\/",
                "size": 15,
                "color": {"resourceType": "Epic", "id": 88825, "name": "Process Workflow"},
                "dataItem": null
            }, {
                "x1": 6.3520679012345669,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1435726800000-0500)\/",
                "size": 9,
                "color": {"resourceType": "Epic", "id": 90684, "name": "GUI filters"},
                "dataItem": null
            }, {
                "x1": 0.82335648148148144,
                "y1": {"resourceType": "Team", "id": 59754, "name": "Alaska"},
                "y2": "\/Date(1435726800000-0500)\/",
                "size": 1,
                "color": null,
                "dataItem": null
            }, {
                "x1": 0.0,
                "y1": {"resourceType": "Team", "id": 70097, "name": "Product Specialists"},
                "y2": "\/Date(1435726800000-0500)\/",
                "size": 1,
                "color": null,
                "dataItem": null
            }, {
                "x1": 17.057233796296295,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1438405200000-0500)\/",
                "size": 1,
                "color": {"resourceType": "Epic", "id": 88825, "name": "Process Workflow"},
                "dataItem": null
            }, {
                "x1": 6.7246412037037047,
                "y1": {"resourceType": "Team", "id": 63263, "name": "?"},
                "y2": "\/Date(1438405200000-0500)\/",
                "size": 3,
                "color": {"resourceType": "Epic", "id": 90684, "name": "GUI filters"},
                "dataItem": null
            }, {
                "x1": 2.7576273148148145,
                "y1": {"resourceType": "Team", "id": 56073, "name": "Exploited"},
                "y2": "\/Date(1438405200000-0500)\/",
                "size": 2,
                "color": null,
                "dataItem": null
            }
        ].map(function (row) {
                    delete row.dataItem;
                    row.y2 = new Date(parseInt(row.y2.replace('\/Date(', '')));
                    return row;
                })
    });

    composite3.renderTo('#composite3');
</script>

</body>
</html>
